package com.hly.wms.dao;

import com.hly.wms.entity.WareSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 商品库存
 * 
 * @author dudulu
 * @email 52039@Miku.com
 * @date 2021-03-31 15:49:06
 */
@Repository
@Mapper
public interface WareSkuDao extends BaseMapper<WareSkuEntity> {

    public boolean addStock(@Param("skuId") Long skuId, @Param("wareId") Long wareId, @Param("skuNum") Integer skuNum );
	
}
